﻿using SmartSiteManagementSystem.Models.Equipment;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace SmartSiteManagementSystem.IServices
{
    public interface IEquipmentService
    {
        #region TowerCraneInfo
        /// <summary>
        /// 
        /// </summary>
        /// <param name="towerCraneId"></param>
        /// <returns></returns>
        TowerCraneInfo GetTowerCraneInfoById(int towerCraneId);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="towerCraneInfo"></param>
        /// <returns></returns>
        bool UpdateTowerCraneInfo(TowerCraneInfo towerCraneInfo);


        /// <summary>
        /// 
        /// </summary>
        /// <param name="towerCraneInfo"></param>
        /// <returns></returns>
        int InsertTowerCraneInfo(TowerCraneInfo towerCraneInfo);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        int GetTowerCraneInfoListCount(Hashtable param);

        /// <summary>
        /// 
        /// </summary>
        /// <param name="param"></param>
        /// <param name="orderBy"></param>
        /// <param name="first"></param>
        /// <param name="rows"></param>
        /// <returns></returns>
        IList<TowerCraneInfo> GetTowerCraneInfoList(Hashtable param, string orderBy, int first, int rows);
        #endregion
    }
}
